//
//  NSNull+OVNatural.m
//  成都餐饮
//
//  Created by tony on 14-4-30.
//  Copyright (c) 2014年 wang yongfeng. All rights reserved.
//

#import "NSNull+OVNatural.h"

@implementation NSNull (OVNatural)
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
    if([self respondsToSelector:[anInvocation selector]])
    {
        [anInvocation invokeWithTarget:self];
    }
}

- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
    NSMethodSignature *sig = [[NSNull class] instanceMethodSignatureForSelector:aSelector];
    if(sig == nil)
    {
        sig = [NSMethodSignature signatureWithObjCTypes:"@^vc"];
    }
    return sig;
}
@end
